package com.train.trainmanage.model;


import java.util.Date;

public class TrainModel extends PageModel{
    private Integer trainId;

    private String trainName;

    private Integer startStationId;
    
    private String startStationName;

    private Integer afterStationId;
    
    private String afterStationName;

    private Integer frontStationId;
    
    private String frontStationName;

    private Integer endStationId;
    
    private String endStationName;

    private Date startTime;

    private Date endTime;

    private Date reachTime;

    private Date leaveTime;

    private Integer comeDirectionId;
    
    private String comeDirectionName;

    private Integer goDirectionId;
    
    private String goDirectionName;

    private Integer pickUpTrack;

    private Integer departureTrack;

    private String pickUpSequence;

    private String departureSequence;

    private Integer isAddWater;

    private Integer isDealRubbish;

    private Integer state;

    private Date createTime;

    private Date lastModifyTime;
    
    private LocomotiveModel locomotive;//本车次所关联的机车

    public Integer getTrainId() {
        return trainId;
    }

    public void setTrainId(Integer trainId) {
        this.trainId = trainId;
    }

    public String getTrainName() {
        return trainName;
    }

    public void setTrainName(String trainName) {
        this.trainName = trainName == null ? null : trainName.trim();
    }

    public Integer getStartStationId() {
        return startStationId;
    }

    public void setStartStationId(Integer startStationId) {
        this.startStationId = startStationId;
    }

    public Integer getAfterStationId() {
        return afterStationId;
    }

    public void setAfterStationId(Integer afterStationId) {
        this.afterStationId = afterStationId;
    }

    public Integer getFrontStationId() {
        return frontStationId;
    }

    public void setFrontStationId(Integer frontStationId) {
        this.frontStationId = frontStationId;
    }

    public Integer getEndStationId() {
        return endStationId;
    }

    public void setEndStationId(Integer endStationId) {
        this.endStationId = endStationId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getReachTime() {
        return reachTime;
    }

    public void setReachTime(Date reachTime) {
        this.reachTime = reachTime;
    }

    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }

    public Integer getComeDirectionId() {
        return comeDirectionId;
    }

    public void setComeDirectionId(Integer comeDirectionId) {
        this.comeDirectionId = comeDirectionId;
    }

    public Integer getGoDirectionId() {
        return goDirectionId;
    }

    public void setGoDirectionId(Integer goDirectionId) {
        this.goDirectionId = goDirectionId;
    }

    public Integer getPickUpTrack() {
        return pickUpTrack;
    }

    public void setPickUpTrack(Integer pickUpTrack) {
        this.pickUpTrack = pickUpTrack;
    }

    public Integer getDepartureTrack() {
        return departureTrack;
    }

    public void setDepartureTrack(Integer departureTrack) {
        this.departureTrack = departureTrack;
    }

    public String getPickUpSequence() {
        return pickUpSequence;
    }

    public void setPickUpSequence(String pickUpSequence) {
        this.pickUpSequence = pickUpSequence == null ? null : pickUpSequence.trim();
    }

    public String getDepartureSequence() {
        return departureSequence;
    }

    public void setDepartureSequence(String departureSequence) {
        this.departureSequence = departureSequence == null ? null : departureSequence.trim();
    }

    public Integer getIsAddWater() {
        return isAddWater;
    }

    public void setIsAddWater(Integer isAddWater) {
        this.isAddWater = isAddWater;
    }

    public Integer getIsDealRubbish() {
        return isDealRubbish;
    }

    public void setIsDealRubbish(Integer isDealRubbish) {
        this.isDealRubbish = isDealRubbish;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

	public LocomotiveModel getLocomotive() {
		return locomotive;
	}

	public void setLocomotive(LocomotiveModel locomotive) {
		this.locomotive = locomotive;
	}

	public String getStartStationName() {
		return startStationName;
	}

	public void setStartStationName(String startStationName) {
		this.startStationName = startStationName;
	}

	public String getAfterStationName() {
		return afterStationName;
	}

	public void setAfterStationName(String afterStationName) {
		this.afterStationName = afterStationName;
	}

	public String getFrontStationName() {
		return frontStationName;
	}

	public void setFrontStationName(String frontStationName) {
		this.frontStationName = frontStationName;
	}

	public String getEndStationName() {
		return endStationName;
	}

	public void setEndStationName(String endStationName) {
		this.endStationName = endStationName;
	}

	public String getComeDirectionName() {
		return comeDirectionName;
	}

	public void setComeDirectionName(String comeDirectionName) {
		this.comeDirectionName = comeDirectionName;
	}

	public String getGoDirectionName() {
		return goDirectionName;
	}

	public void setGoDirectionName(String goDirectionName) {
		this.goDirectionName = goDirectionName;
	}
    
}